package cn.lingyangwl.agile.tenant.core;

import cn.lingyangwl.agile.model.BasePO;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import lombok.*;

/**
 * @author shenguangyang
 */
@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tenant_data")
public class TenantData extends BasePO {
    @TableId
    private Long id;

    private String bizId;

    private String bizType;

    private String content;

    private String tenantId;

    public static LambdaQueryWrapper<TenantData> lqw() {
        return Wrappers.lambdaQuery();
    }

    public static LambdaUpdateWrapper<TenantData> luw() {
        return Wrappers.lambdaUpdate();
    }
}
